<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <style>
        .d1 .i{
            width: 498px;
            height: 280px;
            margin: 0 auto;
            overflow: hidden;
            position: relative;
        }
        .d1 .i img {
            width: 498px;
            height: 280px;
        }
        .d1 .i:hover img{
            transform: scale(1.1);
            transition: all 0.5s;
        }

        .d1 .icon .left{
            width: 32px;
            height: 40px;
            background-image: url("https://www.iqiyipic.com/common/fix/site-v4/sprite-common-icons-191202.png");
            background-repeat: no-repeat;
            background-position: -120px -20px;
            position: absolute;
            top: 50%;
            margin-top: -20px;
        }

        .d1 .icon .right{
            width: 32px;
            height: 40px;
            background-image: url("https://www.iqiyipic.com/common/fix/site-v4/sprite-common-icons-191202.png");
            background-repeat: no-repeat;
            background-position: -160px -20px;
            position: absolute;
            top: 50%;
            left: 94%;
            margin-top: -20px;
        }


        /*按钮*/

        .w3 button{
            width: 132px;
            height: 36px;
            background-color: white;
            outline: none;
            border: 1px solid #eeeeee;
        }
        .w3 button a{
            position: relative;
            top: -6px;
            color: #E1251B;
            font-size: 12px;
            text-decoration: none;
        }
        .w3 button span{
            display: inline-block;
            width: 20px;
            height: 15px;
            color: white;
            text-align: center;
            line-height: 18px;
            border-radius: 10px;
            position: relative;
            top: -12px;
            left: -10px;
            background-color: #E1251B;
        }
    </style>
</head>
<body>
<div class="d1">
    <div class="i">
        <img src="img/4.jpg">

        <div class="icon">
            <div class="left"></div>
            <div class="right"></div>
        </div>
    </div>

    <div class="w3">
        <button>
            <img width="25" src="img/gwc.png">
            <span>0</span>
            <a href="#three">我的购物车</a>
        </button>
    </div>


</div>
</body>
</html>